<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Vue - Clean Minimal eCommerce HTML Template</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSS here -->
    <link rel="stylesheet" th:href="@{/css/bootstrap.min1.css}">
    <link rel="stylesheet" th:href="@{/css/owl.carousel.min.css}">
    <link rel="stylesheet" th:href="@{/css/animate.min.css}">
    <link rel="stylesheet" th:href="@{/css/magnific-popup.css}">
    <link rel="stylesheet" th:href="@{/css/fontawesome-all.min.css}">
    <link rel="stylesheet" th:href="@{/css/flaticon.css}">
    <!--<link rel="stylesheet" th:href="@{/css/meanmenu.css}">-->
    <!--轮播图-->
    <link rel="stylesheet" th:href="@{/css/slick.css}">
    <link rel="stylesheet" th:href="@{/css/default1.css}">
    <!--主排版-->
    <link rel="stylesheet" th:href="@{/css/style1.css}">
    <link rel="stylesheet" th:href="@{/css/responsive1.css}">
    <link rel="stylesheet" th:href="@{/css/my.css}">

    <style>
        .product:hover
        {
            /*border: solid gray 0.5px;*/
            box-shadow: 0 0 4px #b4b4b4
        }
        #XuanFu
        {
            width:150px;
            height: 75px;
            position:fixed;
            left:3%;
            top:50%;
            border-radius:50%;
            text-align: right;
        }
        /*#XuanFu:hover*/
        /*{*/
        /*!*border: solid gray 0.5px;*!*/
        /*box-shadow: 0 0 4px #b4b4b4*/
        /*}*/
        #div{
            /* 设置颜色 */
            background-color:black;
            color:chartreuse;
            /* 边框圆角 */
            border-radius: 10px;
            /* 设置文字居中 */
            text-align: center;
            font-size: 15px;
        }
    </style>

</head>
<body>


<!-- preloader -->
<div id="preloader">
    <div class="preloader">
        <span></span>
        <span></span>
    </div>
</div>
<!-- preloader end  -->

<div id="XuanFu">
    <h4 th:text="${msg2}" style="color: white;background-color: red;text-align: center"></h4>
</div>

<!-- header start -->
<header>
    <div class="header-area header-3 pt-35 pb-35">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-xl-4 col-lg-3 col-md-3 col-7 d-none d-lg-block d-flex align-items-center d-xs-disable">
                    <div class="basic-bar info-bar">
                        <span class="bar1"></span>
                        <span class="bar2"></span>
                        <span class="bar3"></span>
                    </div>
                </div>
                <div class="col-xl-4 col-lg-5 col-md-4 col-5">
                    <div class="logo text-left text-lg-center">
                        <a th:href="@{/toDashboardUser2}"><img th:src="@{/img/logo.png}" alt=""></a>
                    </div>
                </div>
                <div class="col-xl-4 col-lg-4 col-md-8 col-7 pl-0">
                    <div class="header-right header-right-3 f-right">
                        <ul>
                            <li class="d-shop-cart"><a th:href="@{/toMine}" th:text="${session.username}"></a>
                                <ul class="minicart">
                                    <div class="cart-img" style="border-left: 132px">
                                        <p></p>
                                        <h5 align="center" th:text="'用户名：'+${session.username}">用户名：</h5>
                                        <p></p>
                                        <a th:href="@{/toUpdPwd/}+${session.uid}" class="">修改密码</a>
                                        <p></p>
                                        <a th:href="@{/signOut}" class="">退出登录</a>
                                        <hr>
                                        <h5>购物车</h5>
                                        <div th:each="lists:${carts}">
                                            <h7 style="color: red" th:text="${lists.getPname()}+'*1'"></h7>
                                            <p></p>
                                        </div>
                                        <a th:href="@{/toCart/}+${session.uid}">结算</a>
                                    </div>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- side menu -->
    <div class="extra-info">
        <div class="close-icon">
            <button>
                x
            </button>
        </div>
        <div class="logo-side">
            <a th:href="@{/toDashboardUser2}">
                <img th:src="@{/img/logo-white.png}" alt="">
            </a>
        </div>
        <div class="side-info mb-30">
            <div class="main-menu side-menu">
                <nav id="mobile-menu-3">
                    <ul>
                        <li>
                            <a th:href="@{/toDashboardUser2}">Home <i class="flaticon-right-arrow">-></i></a>
                        </li>
                        <li>
                            <a th:href="@{/toDashboardUser2}">Cart <i class="flaticon-right-arrow">-></i></a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</header>
<!-- header end -->

<div class="container">
    <div class="row">
        <div style="background-color: whitesmoke">
            <div style="background-color: red">
                <h5 style="color: white;padding: 20px">评价宝贝</h5>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-3">
            <div style="padding-top:10px;padding-bottom: 10px;padding-right: 10px;margin-bottom: 40px;" th:width="300px">
                <a th:href="@{/toProductDetail/}+${order.pid}">
                    <img th:src="${order.url}">
                    <p></p>
                    <h4 th:text="${order.pname}">半熟芝士</h4>
                    <span></span>
                    <h7 style="color: red" th:text="${order.detail}"></h7>
                    <p></p>
                </a>
            </div>
        </div>
        <div class="col-md-9">
            <form action="/addEvaluate">
                <input type="text" name="oid" th:value="${order.id}"  hidden="hidden">
                <input type="text" name="uid" th:value="${session.uid}"  hidden="hidden">
                <textarea class="form-control" name="evaluate" rows="10" wrap="soft" maxlength="200" placeholder="仅限255字"></textarea>
                <p></p>
                <input type="submit" class="btn btn-info"></input>
            </form>
        </div>
    </div>
</div>




<script th:inline="javascript">
    num5 = [[${num5}]];
    console.log(num5);
    if (num5!=null)
    {

        alert("无权访问")
    }
    $('#btn2').click(function(){
        $('#XuanFu').hide();
    })
</script>



<!-- JS here -->
<script data-cfasync="false" th:src="@{/js/email-decode.min.js}"></script>
<script th:src="@{/js/jquery-1.12.4.min.js}"></script>
<script th:src="@{/js/popper.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/owl.carousel.min.js}"></script>
<script th:src="@{/js/isotope.pkgd.min.js}"></script>
<script th:src="@{/js/one-page-nav-min.js}"></script>
<script th:src="@{/js/slick.min.js}"></script>
<script th:src="@{/js/jquery.meanmenu.min.js}"></script>
<script th:src="@{/js/ajax-form.js}"></script>
<script th:src="@{/js/wow.min.js}"></script>
<script th:src="@{/js/jquery.scrollUp.min.js}"></script>
<script th:src="@{/js/jquery.final-countdown.min.js}"></script>
<script th:src="@{/js/imagesloaded.pkgd.min.js}"></script>
<script th:src="@{/js/jquery.magnific-popup.min.js}"></script>
<script th:src="@{/js/plugins.js}"></script>
<script th:src="@{/js/main1.js}"></script>
</body>
</html>